/* 
 * File:   OperationBinaire.h
 * Author: Gab'z
 *
 * Created on 2 mai 2012, 17:18
 */

#ifndef OPERATEURAARG_H
#define	OPERATEURAARG_H

#include "Constante.h"
#include "Operateur.h"

class OperateurAArg : public Operateur {
public:

protected:

    OperateurAArg(std::string name) : Operateur(name) {
    }

//    OperateurAArg(const OperateurAArg& orig) : _name(orig._name) {
//    }

    virtual ~OperateurAArg();

    virtual Constante* apply() const throw (OperatorException) = 0;
private:
    void exec(Pile* pile) const throw (OperatorException);
};

#endif	/* OPERATEURAARG_H */

